package org.example.feign;

import org.example.dto.ExamsDTo;
import org.example.dto.SchoolPackageRecordDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
@FeignClient(
        value = "Teacher",             //远程调用模块的名字
        url = "http://127.0.0.1:9304", // 替换为 Teacher 服务的实际地址
        fallbackFactory = ExamControllerFallbackFactory.class)

public interface ExamService {
    @PostMapping("/exams/studentlist")
    ExamsDTo select(@RequestBody ExamsDTo examsDTo);
}
